import load from "../utils/LoadableCom"
const routerList = [{
    from: "/",
    to: "/index"
}, {
    path: "/login",
    component: load(() => import("../pages/login/index")),
    name: "Login"
}, {
    path: "/index",
    component: load(() => import("../pages/index/index")),
    name: "Index"
}, {
    path: "/share",
    component: load(() => import("../pages/share")),
    name: "Share"
}, {
    path: "/addShare",
    component: load(() => import("../pages/addShare/index")),
    name: "addShare"
}, {
    path: "/news",
    component: load(() => import("../pages/news/index")),
    name: "News"
}, {
    path: "/goodDetails",
    component: load(() => import("../pages/goodDetails/index")),
    name: "GoodDetails"
}, {
    path: "/record",
    component: load(() => import("../pages/record/index")),
    name: "Record"
}, {
    path: "/group",
    component: load(() => import("../pages/group/index")),
    name: "Group"
}, {
    path: "/groupDetail",
    component: load(() => import("../pages/groupDetail/index")),
    name: "GroupDetail"
}, {
    path: "/addgroup",
    component: load(() => import("../pages/addgroup/index")),
    name: "Addgroup"
}, {
    path: "/newhouse",
    component: load(() => import("../pages/newhouse/index")),
    name: "Newhouse"
}, {
    path: "/detail",
    component: load(() => import("../pages/detail/index")),
    name: "Detail"
}, {
    path: "/purchase",
    component: load(() => import("../pages/purchase/index")),
    name: "Purchase"
}]


export default routerList;